package com.developer.persistence.modulo.indicadores.mapper.dao;

import com.developer.logic.modulo.general.dto.VOHistoricoIndicador;
import com.developer.persistence.modulo.indicadores.mapper.dto.HistoricoIndicador;
import com.developer.persistence.modulo.indicadores.mapper.dto.HistoricoIndicadorExample;
import com.developer.persistence.modulo.indicadores.mapper.dto.HistoricoIndicadorKey;
import com.developer.persistence.modulo.indicadores.mapper.dto.Indicador;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface HistoricoIndicadorMapper {
	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int countByExample(HistoricoIndicadorExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int deleteByExample(HistoricoIndicadorExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int deleteByPrimaryKey(HistoricoIndicadorKey key);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int insert(HistoricoIndicador record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int insertSelective(HistoricoIndicador record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	List<HistoricoIndicador> selectByExample(HistoricoIndicadorExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	HistoricoIndicador selectByPrimaryKey(HistoricoIndicadorKey key);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int updateByExampleSelective(@Param("record") HistoricoIndicador record,
			@Param("example") HistoricoIndicadorExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int updateByExample(@Param("record") HistoricoIndicador record,
			@Param("example") HistoricoIndicadorExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int updateByPrimaryKeySelective(HistoricoIndicador record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table hin_historico_indicadores
	 * 
	 * @mbggenerated Thu Dec 19 22:08:58 COT 2013
	 */
	int updateByPrimaryKey(HistoricoIndicador record);

	List<HistoricoIndicador> obtenerHistoricoIndicador(HistoricoIndicador example);
	Integer contarIndicadores(HistoricoIndicador historicoIndicador);
	
}